package com.macro.mall.dto;

import com.macro.mall.query.BaseQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 观光车图片参数
 * Created by macro on 2018/4/26.
 */
@Data
@EqualsAndHashCode
public class BmsSightseeingBusPicParam extends BaseQuery {
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("观光车id")
    private Long sightseeingBusId;

    @ApiModelProperty("图片路径")
    @NotNull(message = "图片路径不能为空")
    private String pic;

    @ApiModelProperty("是否作为封面：0-否；1-是；")
    private Integer isCover;
}
